package cn.jhz.learn.blog.dao.essay;

import cn.jhz.learn.blog.po.essay.BlogEssay;
import org.apache.ibatis.annotations.Param;

public interface BlogEssayMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BlogEssay record);

    int insertSelective(BlogEssay record);

    BlogEssay selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BlogEssay record);

    int updateByPrimaryKey(BlogEssay record);

    int updateStatusByPrimaryKey(@Param("essayId") Integer essayId, @Param("status") Byte status);

}